﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace FormInputProject.Models
{
    public class Point
    {
        public int PointId { get; set; }

        [Display(Name = "名称")]
        public string PointName { get; set; }

        [Display(Name = "描述")]
        public string PointDescription { get; set; }

        [Display(Name = "公式")]
        public string Formula { get; set; }

        [Display(Name = "计算点")]
        public bool CalculatePoint { get; set; }

        [Display(Name = "单位")]
        public string Unit { get; set; }

        [Display(Name = "创建时间")]
        public DateTime Created { get; set; }

        [Display(Name = "创建者")]
        public virtual User Creator { get; set; }

        [Display(Name = "修改时间")]
        public DateTime Modified { get; set; }

        [Display(Name = "名修改者称")]
        public virtual User ModifiedBy { get; set; }
    }
}